From 8c6b913e979403cff443820bc1663e69c205c777 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 15 May 2007 13:41:24 +0000 Subject: [PATCH] Correct test for unknown alt in lowranceusr writer. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2786 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/lowranceusr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/lowranceusr.c b/gpsbabel/lowranceusr.c index 49907ebb9..2501aeb05 100644 --- a/gpsbabel/lowranceusr.c +++ b/gpsbabel/lowranceusr.c @@ -639,7 +639,7 @@ lowranceusr_waypt_disp(const waypoint *wpt) char *comment; int alt = METERS_TO_FEET(wpt->altitude); - if (alt == unknown_alt) { + if (wpt->altitude == unknown_alt) { alt = UNKNOWN_USR_ALTITUDE; } -- 2.30.2